<?php
//短信采集
Route::post('/sms/store','SmsController@store');
//图片上传
Route::post('/upload/store','UploadController@store');
//图片上传 base64
Route::post('/upload/bs','UploadController@bsUpload');
//自媒体
Route::post('/media/text','MediaController@text');
//八斗关键词
Route::post('/media/bdsearch','MediaController@bdSearch');
//b站up主
Route::post('media/bli/uper','MediaController@bliUper');
//b站up主
Route::post('media/bli/msg','MediaController@msg');
Route::get('media/bli/exp','MediaController@expFdcData');

//qingyun
Route::post('media/qingyun','MediaController@qingyun');

Route::get('order/user','OrderController@userRate');
    //微头条文章效果
    Route::post('media/wtt/effect','Toutiao\MediaController@wttEffect');

//素材模块
    //素材保存
    Route::post('/mate/store','MateController@store');
    //content_id保存
    Route::post('/mate/list/store','MateController@listStore');
    //content_id抛出
    Route::get('/mate/contentid','MateController@contentId');

//商品模块
    //微信模块商品登记
    Route::post('/product/reg','ProductController@reg');
    //客户反馈 登记
    Route::any('/feedback/input','ProductController@feedback');
    //客户反馈 阅读
    Route::any('/feedback/read','ProductController@isReadFeedback');
    //客户反馈 list
    Route::any('/feedback/list','ProductController@userFeedbackList');
    //商品条目
    Route::get('/product/item','ProductController@productItem');
    //商品采集
    Route::post('/product/store','ProductController@store');
    //商品上传
    Route::any('/product/put','Order\FxgGoodsApiController@putGoods');



    //sku采集
    Route::post('/product/sku/store','ProductController@skuStore');
    //sku库存查询 /api/product/sku/stock
    Route::get('/product/sku/stock','ProductController@skuStock');
    Route::any('/goods/list','Goods\GoodsApiController@listData');
    //Api产品上架
    Route::any('/goods/create_prod','Order\FxgGoodsUpApiController@createProd');
    Route::any('/goods/edit_prod','Goods\GoodsApiController@editGoods');
    Route::any('/goods/brand_list','Order\FxgGoodsUpApiController@getBrand');
    Route::any('/goods/edit_prod_data','Goods\GoodsApiController@changeProdData');//修改产品具体数据
    Route::any('/goods/prod_del','Goods\GoodsApiController@delProd');
    Route::any('/goods/prod_add','Goods\GoodsApiController@addProd');
    Route::any('/goods/check_prod','Goods\GoodsApiController@checkShopProd');//校验是否上架
//厂家模块
    //厂家采集
    Route::post('/manu/store','ManuController@store');
    //厂家列表
    Route::get('/manu/data','ManuController@manuList');

//订单模块
    //商家结算订单采集 from放心购后台插件
    Route::post('/order/sett/store','OrderController@settStore');
    //订单采集
    Route::post('/order/store','OrderController@store');
    //code更新
    Route::post('/order/codeEdit','OrderController@codeEdit');
    //Api获取
    Route::any('/order/fxg','Order\FxgOrderApiController@updateOrder');
    //订单比较
    Route::any('/order/fxg_statistic','Order\FxgOrderApiController@orderStatistic');
    //插件上传sku-Api
    Route::any('/order/fxg_sku','Order\FxgGoodsApiController@createSku');
    //Api同步订单数据(根据时间店铺)
    Route::any('/order/fxg_shop_time','Order\FxgOrderApiController@updaShopTimeOrder');
    //通知业绩
    Route::any('/order/liver_notice','LiverController@liver');

    //店铺获取接口
    Route::any('/config/fxg_shops','GoodsSuperviseController@shops');
    //采集监听商品信息
    Route::any('/goods/supe_fxg_goods','GoodsSuperviseController@store');

//物流通知模块
    //通知物流
    Route::any('/logistics/notice','LogisticsController@logisticsNotice');
    //物流同步
    Route::any('/logistics/sync','LogisticsController@syncLogistics');
    //通知退款
    Route::any('/order/orderDing','Order\FxgOrderApiController@orderDing');
    //物流下载
    Route::any('/logistics/notice_exp','LogisticsController@noticeExp');
    //物流停滞下载
    Route::any('/logistics/stagnation_exp','LogisticsController@stagnationExp');
    //创建物流任务
    Route::any('/logistics/create','LogisticsController@createLogisticsTask');
    //曲线-主播订单统计
    Route::any('/order/count','OrderController@orderCount');
    //订单退货率统计
    Route::any('/order/refund','OrderController@refundReport');


    //开普勒测试
Route::any('/code/write/url','Order\FxgOrderApiController@writeUrl');
Route::any('/jd/goods/list','Order\FxgOrderApiController@goodsList');
